<span>
    <form class="form-inline" ng-submit="submitQuickPattern()">
        <button class="btn btn-default btn-sm" type="button" ng-click="unselectPattern()"><span class="fa fa-ban" title="Displays all files"></span></button>
        <div class="input-group input-group-sm col-md-4">
            <input class="form-control" type="text" ng-model="quickPattern" placeholder="ANT-like pattern" />
            <span class="input-group-addon ot-action" ng-click="submitQuickPattern()"><span class="fa fa-filter" title="Use this pattern to filter on file paths."></span></span>
        </div>
        <button class="btn btn-default btn-sm" type="button" ng-disabled="!quickPattern" ng-click="saveQuickFilter()"><span class="fa fa-save" title="Saves the quick pattern"></span></button>
        <div class="input-group input-group-sm col-md-2">
            <select class="form-control"
                    ng-model="selectedFilter"
                    ng-options="filter as filterDisplayName(filter) for filter in filters">
                <option value=""></option>
            </select>
        </div>
        <button class="btn btn-default btn-sm" type="button" ng-disabled="!selectedFilter" ng-click="editFileFilter()"><span class="fa fa-pencil" title="Edits the selected pattern"></span></button>
        <button class="btn btn-default btn-sm" type="button" ng-disabled="!selectedFilter" ng-click="deleteFileFilter()"><span class="fa fa-minus" title="Deletes the selected pattern"></span></button>
        <button class="btn btn-default btn-sm" type="button" ng-click="addFileFilter()"><span class="fa fa-plus" title="Adds a pattern (name, multiple patterns...)"></span></button>
        <button class="btn btn-default btn-sm" type="button" ng-click="shareFileFilter(changeLog, selectedFilter)" ng-show="filterCanShare(selectedFilter)"><span class="fa fa-users" title="Shares this filter for the whole project"></span></button>
        <button class="btn btn-default btn-sm" type="button"
                ng-if="changeLog._diff"
                ng-disabled="diffComputing"
                ng-click="diffFileFilter(changeLog, quickPattern, selectedFilter)">
            <span class="fa fa-download" title="Exports the changes as diff" ng-hide="diffComputing"></span>
            <span class="fa fa-spinner fa-spin" ng-show="diffComputing"></span>
            Diff
        </button>
    </form>
</span>